CVE-2018-1165
SmartOS SMB_IOC_SVCENUM Privilege Escalation Remote Code Execution Vulnerability
Description
This vulnerability allows local attackers to escalate privileges on vulnerable installations of Joyent SmartOS release-20170803-20170803T064301Z. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the SMB_IOC_SVCENUM IOCTL. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length, heap-based buffer. An attacker can leverage this vulnerability to execute code under the context of the host OS. Was ZDI-CAN-4983.
INFO
Published Date :
Feb. 21, 2018, 2:29 p.m.
Last Modified :
Nov. 21, 2024, 3:59 a.m.
Remotely Exploit :
No
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2018-1165
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | 
Solution
- Install the apr2020 CPU from the Oracle support website.
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2018-1165.
                                        
| URL | Resource | 
|---|---|
| https://help.joyent.com/hc/en-us/articles/360000124928 | Vendor Advisory | 
| https://www.oracle.com/security-alerts/cpuapr2020.html | Third Party Advisory | 
| https://zerodayinitiative.com/advisories/ZDI-18-158 | Third Party Advisory VDB Entry | 
| https://help.joyent.com/hc/en-us/articles/360000124928 | Vendor Advisory | 
| https://www.oracle.com/security-alerts/cpuapr2020.html | Third Party Advisory | 
| https://zerodayinitiative.com/advisories/ZDI-18-158 | Third Party Advisory VDB Entry | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2018-1165 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2018-1165
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2018-1165 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2018-1165 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference https://help.joyent.com/hc/en-us/articles/360000124928 Added Reference https://www.oracle.com/security-alerts/cpuapr2020.html Added Reference https://zerodayinitiative.com/advisories/ZDI-18-158 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            Modified Analysis by [email protected]Sep. 09, 2020 Action Type Old Value New Value Removed CVSS V2 NIST (AV:L/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V2 NIST (AV:L/AC:M/Au:N/C:C/I:C/A:C) Removed CVSS V3 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://www.oracle.com/security-alerts/cpuapr2020.html No Types Assigned https://www.oracle.com/security-alerts/cpuapr2020.html Third Party Advisory Removed CWE NIST CWE-20 Added CWE NIST CWE-787 Added CPE Configuration OR *cpe:2.3:o:oracle:solaris:11:*:*:*:*:*:*:* *cpe:2.3:o:oracle:zfs_storage_appliance:8.8:*:*:*:*:*:*:* 
- 
                            CVE Modified by [email protected]Apr. 15, 2020 Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpuapr2020.html [No Types Assigned] 
- 
                            CVE Modified by [email protected]Oct. 09, 2019 Action Type Old Value New Value Added CWE Zero Day Initiative CWE-122 
- 
                            Initial Analysis by [email protected]Mar. 19, 2018 Action Type Old Value New Value Added CVSS V2 (AV:L/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V3 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://zerodayinitiative.com/advisories/ZDI-18-158 No Types Assigned https://zerodayinitiative.com/advisories/ZDI-18-158 Third Party Advisory, VDB Entry Changed Reference Type https://help.joyent.com/hc/en-us/articles/360000124928 No Types Assigned https://help.joyent.com/hc/en-us/articles/360000124928 Vendor Advisory Added CWE CWE-20 Added CPE Configuration OR *cpe:2.3:o:joyent:smartos:20170803:*:*:*:*:*:*:* 
Vulnerability Scoring Details
Base CVSS Score: 7
Base CVSS Score: 6.9
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.30 }} 0.03%
score
0.52832
percentile
 
                         
                         
                         
                                             
                                            